package com.oracle.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.oracle.pojo.PhGoods;
import com.oracle.pojo.PhGoodsExample;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface PhGoodsMapper extends BaseMapper<PhGoods> {
    int counPhyExample(PhGoodsExample example);

    int deleteByExample(PhGoodsExample example);

    int deleteByPrimaryKey(Long id);

    int insert(PhGoods record);

    int insertSelective(PhGoods record);

    List<PhGoods> selecPhyExample(PhGoodsExample example);

    PhGoods selecPhyPrimaryKey(Long id);

    int updateByExampleSelective(@Param("record") PhGoods record, @Param("example") PhGoodsExample example);

    int updateByExample(@Param("record") PhGoods record, @Param("example") PhGoodsExample example);

    int updateByPrimaryKeySelective(PhGoods record);

    int updateByPrimaryKey(PhGoods record);
}
